package hl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7FldDTTM extends MessageComponent{
	
	//Declarations

	public EDC_HL7FldI2 Year;
	public EDC_HL7FldI2 Month;
	public EDC_HL7FldI2 Day;
	public EDC_HL7FldI2 Hours;
	public EDC_HL7FldI2 Minutes;
	public EDC_HL7FldI2 Seconds;
	public EDC_HL7FldI2 Millis;
	public EDC_HL7FldI2 GmtOffset;

	//Constructor
	public EDC_HL7FldDTTM(MessageElement elem) {
		super(elem);
		Year = new EDC_HL7FldI2(elem.getElementAt("Year"));
		Month = new EDC_HL7FldI2(elem.getElementAt("Month"));
		Day = new EDC_HL7FldI2(elem.getElementAt("Day"));
		Hours = new EDC_HL7FldI2(elem.getElementAt("Hours"));
		Minutes = new EDC_HL7FldI2(elem.getElementAt("Minutes"));
		Seconds = new EDC_HL7FldI2(elem.getElementAt("Seconds"));
		Millis = new EDC_HL7FldI2(elem.getElementAt("Millis"));
		GmtOffset = new EDC_HL7FldI2(elem.getElementAt("GmtOffset"));
	}

}
